import './xiaoce.scss'
import React, { Component,lazy} from 'react'
import SeleTag from '../../components/seleTag/seleTag';
import XcAdvert from '../../components/xcAdvert/xcAdvert'
const XcList = lazy(()=>import('../../components/XcList/XcList'))
export default class Xiaoce extends Component<any,any>{
    constructor(props:any){
        super(props)
    }
    render(){
        const tagData=['全部','前端','后端','移动开发','通用','区块链'];
        const {match} = this.props;
        const path = match.path;
        return (
            <div className="xiaoce">
                {/* 二级标签组件 */}
                <SeleTag tagData={tagData} path={path}/>  
                 <div className="xiaoceCon w960">
                    {/* 内容 700 */}
                    <XcList/>
                    <XcList/>
                    <XcList/>
                    <XcList/>
                    <XcList/>
                    <XcList/>
                    {/* 右侧广告 240 */}
                    <XcAdvert/>
                 </div>
            </div>
        )
    }
}